<div class="container" @myInsertRemoveTrigger *ngIf="change" [hidden]="!hide" draggable="true">
  <div class="top">
    <div><i></i><label>发布任务</label></div>
    <span class="spanOne" (click)="close()"><i class="iconfont icon-guanbi"></i></span>

    <span class="spanThree" (click)="toSmall($event)"><i class="iconfont icon-suoxiao"></i></span>
  </div>

  <div class="bottom">
    <!-- <h1>发布任务</h1> -->
    <div class="content">
      <div class="task-title">
        <label for="">任务标题</label>
        <input type="text" [(ngModel)]="data.title" />
      </div>
      <div class="div">
        <div class="task-classify">
          <label for="">任务类别</label>
          <select [(ngModel)]="data.categories">
            <option *ngFor="let item of category" value="{{ item.no }}">{{
            item.name
          }}</option>
          </select>
        </div>
        <div class="task-keyword">
          <label for="">关键字</label>
          <input type="text" [(ngModel)]="data.content" />
        </div>
      </div>
      <div class="div">
        <div class="task-date">
          <label for="">任务日期</label>
          <input type="date" [(ngModel)]="data.issued" />
        </div>
        <div class="task-time">
          <label for="">预计时长</label>
          <input type="text" [(ngModel)]="data.time" />
        </div>
      </div>
      <div class="div">
        <div class="task-charge">
          <label for="">项目负责人</label>
          <select [(ngModel)]="pName">
            <option *ngFor="let item of person" value="{{ item.code }}">{{
            item.name
          }}</option>
          </select>
        </div>
        <div class="task-participant">
          <label for="">项目参与人</label>
          <select [(ngModel)]="data.submitter">
            <option *ngFor="let item of person" value="{{ item.code }}">{{
            item.name
          }}</option>
          </select>
        </div>
      </div>
      <div class="task-describe">
        <label for="">项目描述</label>
        <textarea name="" id="" cols="" rows="" class="task-text-content" style="resize:none;"
          [(ngModel)]="data.remark"></textarea>
      </div>
      <div class="btn">
        <button (click)="release()">发布</button>
        <button>取消</button>
      </div>
    </div>
  </div>
</div>
